package com.example.test.service;


import com.example.test.entity.Author;
import com.example.test.entity.VenueGoods;
import com.example.test.mapper.VenueMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class VenueService {
    @Resource
    private VenueMapper venueMapper;

    public List<Map<String,Object>> venueGoodsList(Map<String,Object> param){
       return venueMapper.venueGoodsList(param);
    }

    public int addVenueGoods(VenueGoods venueGoods){
        return venueMapper.addVenueGoods(venueGoods);
    }

    public VenueGoods venueGoodsInfo(Integer id){
        return venueMapper.venueGoodsInfo(id);
    }

    public int delVenueGoods(Integer id){
        return venueMapper.delVenueGoods(id);
    }

    public List<Map<String,Object>> authorList(){
        return venueMapper.authorList();
    }





}
